home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_34.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  116KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | tree | windowpane
OCR: I-30 Mops Tutorial second two integers are placed in the object's TopLeft cells as the result of "the put: TopLeft mes sage in this put: method In other words. when an object of class Rect receives message -con sisting of the put: selector. the object searches its own class for the corresponding methods def inition. The method sends messages of its own to objects other classes, and so on back through chain of classes and objects until method S reached that is defined purely in Mops words (as in the put: method in class Int) All the actions taken by this series of messages affect only the private data of the Rect object that received the message The second method calls Macintosh Toolbox routine, named FrameRect. to draw the rectangle according to coordinates currently in the data cells of t ...